﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HCY.CTP.DBShangZheng;

namespace IFClientDLL
{
    public class MyData_RedGreen : MyData_Base,IData
    {
        private int _服务器时间;
        private DateTime _时间;
        private int _RedGreen;
        public int RedGreen { get { return _RedGreen; } }
        private MyData_RedGreen _PrevData;
        public MyData_RedGreen(DBTableDzhRedGreenbar data, MyData_RedGreen prevData)
        {
            _时间 = data.时间;
            _服务器时间 = data.服务器时间;
            _RedGreen = data.大智慧红绿柱;
            _PrevData=prevData;
            
        }
        public int MyServerTime
        {
            get { return _服务器时间; }
        }

        public MyData_RedGreen PrevData
        {
            get { return _PrevData; }
        }
        public DateTime DT
        {
            get { return _时间; }
        }
    }
}
